/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.support.cservice;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import com.qihoo.gamecenter.sdk.common.a.c;
import com.qihoo.gamecenter.sdk.common.i.s;

public final class a {
    public static void a(Context paramContext, int paramInt, String paramString) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("pref_feedback_editor_cache", 0);
        localSharedPreferences.edit().putString(String.valueOf(paramInt), paramString).commit();
    }

    public static String a(Context paramContext, int paramInt) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("pref_feedback_editor_cache", 0);
        return localSharedPreferences.getString(String.valueOf(paramInt), "");
    }

    public static void b(Context paramContext, int paramInt) {
        SharedPreferences localSharedPreferences = paramContext.getSharedPreferences("pref_feedback_editor_cache", 0);
        if (!(localSharedPreferences.contains(String.valueOf(paramInt))))
            return;
        localSharedPreferences.edit().remove(String.valueOf(paramInt)).commit();
    }

    public static String a(Context paramContext, int paramInt1, int paramInt2) {
        return "http://mgame.360.cn/feedback/my_list.json?app_key=" + s.r(paramContext) + "&user_id=" + c.c() + "&id="
                + paramInt1 + "&dir=" + paramInt2 + "&t=" + System.currentTimeMillis();
    }

    public static String a(Context paramContext, int paramInt1, int paramInt2, int paramInt3) {
        return "http://mgame.360.cn/feedback/detail.json?pid=" + paramInt2 + "&id=" + paramInt1 + "&dir=" + paramInt3;
    }
}